﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using MODEL;

namespace Service
{
    public class ValveControlService :IValveControlService
    {
        public Task<IEnumerable<ValveControl>> QueryControlValues(ValveControlQueryCriteria userId = null)
        {
            return ValueControlDAL.QueryControlValues(userId);
        }

        public void InsertControlValues(List<ValveControl> valveControlList)
        {
            ValueControlDAL.InsertControlValues(valveControlList);
        }
    }
}
